<?php

return [
    'device_type' => [
        DEVICE_TYPE_IPHONE => 'IPhone',
        DEVICE_TYPE_IPAD => 'IPad',
    ],
    'ad_task'=>[
        'type'=>[
            AD_TASK_TEXT_TYPE => '文字',
            AD_TASK_IMG_TYPE => '图片',
            AD_TASK_TEXT_AND_IMG_TYPE => '图文',
        ],
    ],
    'task'=>[
        'status'=>[
            TASK_STATUS_PENDING => '等待中',
            TASK_STATUS_RUNNING => '运行中',
            TASK_STATUS_CANCEL => '已取消',
            TASK_STATUS_FINISHED => '已完成',
        ],
        'status_color'=>[
            TASK_STATUS_PENDING => 'warning',
            TASK_STATUS_RUNNING => 'success',
            TASK_STATUS_CANCEL => 'danger',
            TASK_STATUS_FINISHED => 'info',
        ]
    ],
    'apple_task' => [
        'type' => [
            APPLE_TASK_TYPE_ASO => 'aso',
            APPLE_TASK_TYPE_COMMENT => 'review',
            APPLE_TASK_TYPE_RATE => 'rate',
        ],
        'status' => [
            TASK_STATUS_PENDING => '等待中',
            TASK_STATUS_RUNNING => '运行中',
            TASK_STATUS_CANCEL => '已取消',
            TASK_STATUS_FINISHED => '已完成',
        ],
        'status_color' => [
            TASK_STATUS_PENDING => 'warning',
            TASK_STATUS_RUNNING => 'success',
            TASK_STATUS_CANCEL => 'danger',
            TASK_STATUS_FINISHED => 'info',
        ],
    ],
    'apple_comment' => [
        'export_fields' => [
            'name' => '方案名',
            'title' => '评论标题',
            'content' => '评论内容',
        ]
    ],
    'apple_account' => [
        'status' => [
            ACCOUNT_STATUS_LIVE => '正常',
            ACCOUNT_STATUS_DIE => '禁用',
        ],
        'export_fields' => [
            'email' => '账号',
            'password' => '密码',
            'udid' => 'udid',
            'idfa' => 'idfa',
            'serial' => 'serial',
            'imei' => 'imei',
            'ucid' => 'ucid',
            'unknown' => '备注',
        ]
    ],
    'apple_device' => [
        'status' => [
            1 => '在线',
            2 => '离线',
        ]
    ],
    'apple_buy_log' => [
        'status' => [
            '200' => '成功',
            '204' => '账号密码错误/账号禁用',
            '205' => '停用',
            '206' => 'ip错误',
            '207' => '搜索错误',
            '208' => '购买错误',
            '209' => '超时',
            '210' => '关闭',
            '211' => '未知错误1',
            '212' => '未知错误2',
            '213' => '未知错误3',
        ]
    ],
    'switch' => [
        'states'=>[
            'on'  => ['value' => 1, 'text' => '启用', 'color' => 'success'],
            'off' => ['value' => 0, 'text' => '禁用', 'color' => 'danger'],
        ]
    ]
];